<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
	<meta content="yes" name="apple-mobile-web-app-capable">
	<meta content="black" name="apple-mobile-web-app-status-bar-style">
	<title>更换业务员</title>
    <script src="/Public/Home/js/zepto.min.js"></script>
    <link href="/Public/Home/css/weui.min.css" rel="stylesheet">
	<link rel="stylesheet" href="/Public/Home/SaleManager/stylesheets/index.css">
</head>
<body>
<form action='' name='changsale'id='changsale' method='post'>

<header class = "all_header">
			<a class = "h_back h_back_1" href="javascript:void(0)"><img src="/Public/Home/SaleManager/images/back_icon.png" alt=""></a>
			<span class = "h_title">更换业务员</span>
			<a class = "h_add" href="javascript:void(0)"></a>
		</header>
	<div class="changeCounty">
		
		<div class="weui-cells">
	    <div class="weui-cell weui-cell_select" style = "padding: 0 15px;">
	      <input type='hidden' name='origin_user' id='origin_user' value='<?php echo ($userid); ?>'>
	      <div class="weui-cell__bd">
	          <select class="weui-select" name="select1">
	          <?php if(is_array($lists)): $i = 0; $__LIST__ = $lists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i; if($v["id"] != $userid): ?><option selected="" value="<?php echo ($v["id"]); ?>"><?php echo ($v["real_name"]); ?> <?php echo ($v["phone"]); ?></option><?php endif; endforeach; endif; else: echo "" ;endif; ?>
	          </select>
	      </div>
	    </div>
	  </div>
	  <div class="weui-btn-area">
	    <a class="weui-btn change_btn" href="javascript:">确定</a>
	  </div>
  </div>
  </form>
</body>
</html>
<script src = "/Public/Home/SaleManager/js/androidback.js"></script>
<script>
	$(document).on('click','.change_btn',function(){
		$('#changsale').submit();
	})
	//返回
	$(document).on('click','.h_back',function(){
		history.go(-1);
	})
</script>